package com.nulldev.util.crypto.encryptAPI.manage;

public class DefaultEncryptor extends Encryptor {

	@Override
	public String getEncryptorID() {
		return "default";
	}

	@Override
	public String[] supportedEncryptors() {
		return new String[] {"DEFAULT_NONE"};
	}

	@Override
	public String encrypt(String text, String password) {
		return text;
	}

	@Override
	public String decrypt(String text, String password) {
		return text;
	}

	@Override
	public byte[] encryptBytes(byte[] data, String password) {
		return data;
	}

	@Override
	public byte[] decryptBytes(byte[] data, String password) {
		return data;
	}

}
